package com.jiahao.material.services;


import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.jiahao.material.entity.User;

import java.util.List;
import java.util.Map;

public interface IUserService extends IService<User> {

    public User getUserById(String id);

    public User getUserByUName(String userName);

    public IPage<User> getUsersByPage(Page<User> page, Map<String,Object> map);
}
